<template>
	<view>
		<menuBox :menuInfo = "menuInfo"></menuBox>
	</view>
</template>

<script>
	import menuBox from "@/wxcomponents/commonLayout/menu";
	import userMixins from '@/libs/userMixins.js'
	export default {
		mixins: [userMixins],
		data() {
			return {
				
				menuInfo: {
					base:{
						menuProp:[
							"name"	
						]
					},
					list:[]
				},
		
			}
		},
		onLoad() {
			let list = [
				{
					url: "/modules/internship/practiceCompanyList",
					name: "实习申请"
				},
				{
					url: "/modules/leave/applyLeave",
					name: "学生请假申请"
				},
				{
					url: "/modules/leave/teacherLeave",
					name: "教师请假申请"
				},
				{
					url: "/modules/reimbursement/reimbursementApply",
					name: "报销申请"
				},
				{
					url: "/modules/meeting/meetingApply",
					name: "会议申请"
				},
				{
					url: "/modules/car/applyForCar",
					name: "用车申请"
				},
				{
					url: "/modules/seal/apply",
					name: "用章申请"
				},
				{
					url: "/modules/meal/apply",
					name: "用餐申请"
				}
				// {
				// 	url: "/modules/fixed/apply",
				// 	name: "报修申请"
				// },
			]
			this.menuInfo.list = this.getHaveOpList(list);
		},
		components: {
			menuBox
		}
	}
</script>

<style lang="scss" scoped>
	
</style>
